package com.hdd.biz.painting.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.time.LocalDateTime;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 文件表
 * </p>
 *
 * @author fang
 * @since 2021-03-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_biz_file_info")
@ApiModel(value="FileInfo对象", description="文件表")
public class FileInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ID_WORKER)
    private String id;

    private String fileName;

    private String contentType;

    private String size;

    private String path;

    private String url;

    @ApiModelProperty(value = "0:文件,1:图片,2裱框,3场景")
    private Integer type;

    @ApiModelProperty(value = "裱框宽度")
    private Integer width;

    @ApiModelProperty(value = "裱框上边框1")
    private String upSideUrl;

    @ApiModelProperty(value = "裱框下边框2")
    private String underSideUrl;

    @ApiModelProperty(value = "裱框右边框3")
    private String rightSideUrl;

    @ApiModelProperty(value = "裱框左边框4")
    private String leftSideUrl;

    @ApiModelProperty(value = "裱框左上角5")
    private String upperLeftUrl;

    @ApiModelProperty(value = "裱框右上角6")
    private String upperRightUrl;

    @ApiModelProperty(value = "裱框左下角7")
    private String underLeftUrl;

    @ApiModelProperty(value = "裱框右下角8")
    private String underRightUrl;

    @ApiModelProperty(value = "裱框边框是否齐全 0：不齐全，1:齐全")
    private Integer framedShow;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    private LocalDateTime modifyTime;

    @ApiModelProperty(value = "删除标记位,0:正常; 1:删除")
    private Integer delFlag;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "分类ID")
    private String materialKindId;

    @ApiModelProperty(value = "1:图片，2:色值")
    private Integer materialType;

    @ApiModelProperty(value = "纯色色值")
    private String colorValue;


}
